{extend name="base" /}

{block name="title"}富豪区{/block}

{block name="resource"}
<style type="text/css">
	.tis_box p {
		font-size: 14px;
		float: none;
	}
</style>
{/block}

{block name="main"}
<div class="main">
	<div class="container">
		
		<div class="wdyy">
			<div class="tis_box clearfix">
				<!--<p>1.富豪区：最低可预约200元 ~ 最高可预约400元</p>-->
				<p>1.富豪区：最低可预约100 ~ 最高可预约2000</p>
				<p>2.富豪区：利息为{:getParam('HELP_TO_RICH_PRICE_INCOME')}%</p>
				<p>3.每{:getParam('APPOINTMENT_TIME')}小时，可预约一单。</p>
			</div>
			<form action="/appointment/rich/create" method="post">
				<input type="hidden" name="__token__" value="{$Request.token}" />
				<div><span>预约额度</span><input type="text" name="appointment_price"/></div>
				<div class="btn_box"><button class="tx_btn" type="submit">立即预约</button></div>
			</form>
			<!--<div class="yytj_box">
				<p>总预约<span class="color_ceng">99</span>人，当前匹配预约<span class="color_ceng">99</span>名</p>
				<p>你的预约名次为<span class="color_ceng">99</span></p>
			</div>-->
		</div>

		<div class="qd_box">
			<div class="table_modal">
					
				<div class="tab_title">
					<p>富豪区预约</p>
				</div>
				
				<div class="qd_table_box">
					<div class="table-responsive">
					  	<table class="table text-center table-bordered">
					    	<tr>
					    		<th>预约ID</th>
					    		<th>预约时间</th>
					    		<th>预约金额</th>
					    		<th>剩余金额</th>
					    		<th>状态</th>
					    		<th>匹配次数</th>
					    	</tr>
							{volist name='appointmentRichs' id='appointmentRich'}
							<tr>
								<td>{$appointmentRich.help_appointment_rich_id}</td>
					    		<td>{$appointmentRich.create_time}</td>
					    		<td>{$appointmentRich.appointment_price}</td>
					    		<td>{$appointmentRich.remaining_price}</td>
					    		<td>{$appointmentRich.status}</td>
					    		<td>{$appointmentRich.to_num}</td>
							</tr>
							{/volist}
					  	</table>
					</div>
					<nav>{$appointmentRichs -> render()}</nav>
				</div>
			</div>
		</div>	
	</div>
</div>
{/block}